<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test.html</title>
		<title>获得浏览器的信息</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<script type="text/javascript" src="myjs/common.js"></script>
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

	<script type="text/javascript">
		/*
		alert(isNaN(""));//false
		alert(isNaN("123"));//false
		alert(isNaN("abc"));//true
		alert(isNaN("  123  "));//false
		alert(isNaN("  abc  "));//true
		alert(typeof(NaN));   
		alert(typeof(Infinity));  
		alert(typeof(null));   
		alert(typeof(undefined));   
		alert(NaN==NaN);   
		alert(NaN!=NaN);   
		alert(NaN>NaN);    
		alert(null==undefined);    
		alert(null>=undefined);    
		alert(null<=undefined);    
		alert(null==null);  
		alert(null!=null);   
		alert(null!=NaN);   
		alert(null==NaN);  
		alert(NaN==undefined);   
		alert(parseInt("123abc"));  
		alert("123abc"-0);   
		alert(Infinity>10);   
		alert(Infinity>"abc");   
		alert(Infinity==NaN);  
		alert(true==1);   
		alert(new String("abc")=="abc");   
		alert(new String("abc")==="abc");   
		function step(a){//闭包
		   return function(x){  
		      return x+a++;  
		   }  
		}  
		var a = step(10);  
		var b = step(20);  
		alert(a(10));  
		//alert(b(20));  
		var a="123abc";  
		alert(typeof(a++));  
		alert(a);
		*/
function abc()
{
var a = 0;
var bb = getElementsByClassName("cell red");
	console.log(bb[0]);
}
	</script>
  </head>
  <body>
  
  	考考你们的JS 我只作对了一半 你们试试 ：<br>
    <h2 class="red cell title">安装支持</h2>
    <span class="cell red  ">jjj</span>
    <div class="filament_table  red cell">这是DIV</div>
    
    <input type="button" onclick="abc();" value="获得样式">
    
  </body>
</html>
